package com.healthcarex.hip.saas.security.model;

import com.healthcarex.hip.saas.common.model.Tree;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author chenpan
 * @ClassName: SysDept
 * description:
 * @date 2018-04-03 17:01
 */
@Table(name = "HP_SYS_DEPT")
@Data
@ApiModel(value = "SysDept", description = "系统科室", parent = Tree.class)
public class SysDept extends Tree implements Serializable {

    @Column(name = "DEPT_CODE")
    private String deptCode;

    @Column(name = "DEPT_NAME")
    private String deptName;

    @Column(name = "ORG_CODE")
    private String orgCode;

    @Column(name = "ORG_NAME")
    private String orgName;


}
